//你的代码将被嵌在这里
#include <iostream>
using namespace std;
class Calculator
{
private:
    int count;
public:
    Calculator(int i):count(i){};
    Calculator operator++()
    {
        ++count;
        return *this;
    }
    Calculator operator++(int)
    {
        Calculator temp=*this;
        this->count++;
        return temp;
    }
    void display()
    {
        cout<<"counter number ="<<count<<endl;
    }
};

int main(){
    Calculator a(100);
    ++a;
    a.display();
    a++;
    a.display();    
    return 0;
}